package cn.eng.org.mapper;

import cn.eng.basic.mapper.BaseMapper;
import cn.eng.basic.query.BaseQuery;
import cn.eng.org.domain.Employee;
import cn.eng.org.query.EmployeeQuery;
import cn.eng.system.domain.Menu;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {

    //根据名字查询 员工是否存在
    Employee loadByUsername(String username);


    List<String> getPermissionsByLogininfoId(Long id);

    List<Menu> getMenusByLogininfoId(Long id);

    Employee loadByLogininfoId(Long id);

    List<Employee> list(Long shopId);
}
